package com.mengxuegu.springboot.service;

import com.mengxuegu.springboot.entities.CardBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "bank-user",fallback =BankUserServiceFallback.class )
public interface BankUserService {
    @PostMapping("/card/getBillNum")
     Object getBillNum(@RequestBody CardBean cardBean);

}
